{% extends "learning_logs/base.html" %}
{% load bootstrap3 %}

{% block content %}
    <p>添加评论</p>
    <form action="{% url 'learning_logs:add_comment' entry.id %}" method="post">
        {% csrf_token %} 
        {% bootstrap_form form %}
        {% buttons %}
            <button type="submit" class="btn btn-primary">评论</button>
        {% endbuttons %}
    </form>
{% endblock content %}